﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.OleDb;
namespace HotelManager.Data_Access_Layer
{
    public class ConnectDAO
    {
        private static string chuoiKetNoi = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=hotel.accdb";
        public static OleDbConnection KetNoi()
        {
            OleDbConnection ketNoi = new OleDbConnection(chuoiKetNoi);
            ketNoi.Open();
            return ketNoi;
        }
    }
}
         

       


       


       

      


       

       


     
